package com.jy.appmarket.cards;

import android.content.Context;
import android.text.Html;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.jy.appmarket.R;

public class HotWordsUICard extends BaseUICard{

	private String mWord;
	
	public HotWordsUICard(Context context, String word) {
		super(context, R.layout.hot_words_card_layout);
		mWord = word;
	}

	@Override
	public void setupInnerViewElements(ViewGroup parent, View view) {
		TextView titleTv = view.findViewById(R.id.card_main_inner_simple_title);
		titleTv.setText(Html.fromHtml(mWord));
	}
	
}
